home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20041116-20060924
/
000102_fdc@columbia.edu_Thu May 26 17:15:44 2005.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
5KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Kermit server requirements
Date: 26 May 2005 21:15:10 GMT
Organization: Columbia University
Lines: 74
Message-ID: <slrnd9cf2u.ato.fdc@sesame.cc.columbia.edu>
References: <MSble.7935$M36.2868@newsread1.news.atl.earthlink.net>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1117142110 14328 128.59.59.56 (26 May 2005 21:15:10 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 26 May 2005 21:15:10 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15340
On 2005-05-26, Kevin L <kevinl01@earthlink.net> wrote:
: We have encountered a problem with an embedded device and I'm thinking
: Kermit might have my best answer. The device itself is a Pentium 266MHz
: running Windows 2000. The "control computer" that talks to it in a 486
: 100MHz running Linux.
:
: Short form is, the device supports ethernet (10 / 100 baseTX) but we can't
: get enough cat-3 or cat-5 cabling between it and the control computer. It's
: an underwater instrument, and the last two feet of waterproof pigtail is
: straight wires, and this is apparently enough to kill the ethernet
: signalling. I think I can solve this by re-wiring the 4 ethernet wires to
: run into a serial port instead. We max at 115200 bps, though, and need to
: at least get some kind of performance on our data transfers.
:
This is quite feasible as long as all the interfaces along the path support
hardware flow control. But you only have 4 wires - 1 for signal ground,
1 for receive, 1 for transmit, only one left, which you probably want to use
for DTR and CD (crossed). So you won't have the best flow control. Second
best is Xon/Xoff, but that's subject to deadlocks on noisy connections.
Third best is none at all; let Kermit handle it by regulating the size and
flow of packets.
: I'm considering two options with this serial port. The first is to run a
: PPP server and pretend at the application layer that all is still ethernet.
: The second is to run a Kermit server and issue host commands and file
: transfer commands.
:
Honestly, I don't know much about the internals of PPP, but TCP and IP,
which ride on top of it, do not (last time I looked) support such notions as
sliding windows with selective retransmission. In which case, recovering from
a transmission error could be much more expensive than with Kermit. But
without effective flow control, you might not be able to use sliding windows
in Kermit. It's hard to say without knowing all the facts. Ideally you would
try each under controlled conditions -- different error rates, etc -- and
see for yourself.
: I like the Kermit idea because I feel that it will enjoy a significant
: performance gain for file transfers against FTP-via-PPP. The files I need
: to transfer will be in the neighborhood of 4MB each, and I'm still not
: certain how many I'll need to move every day. Coupled with unreliable
: 3-wire rs232 at 115200, I think the Kermit protocol will be the fastest
: thing available and I can trust its crash recovery feature better than
: FTP's.
:
Which you can use as long as the files are transferred in binary mode.
: The host commands I need to send are rather trivial and the output
: of them can be parsed easily on the control computer.
:
: So, what do I need to run a Kermit server on Windows 2000? Do any of the
: free versions do it? Can it be set to run as a service, and can I easily
: verify its presence from the control computer? Does it restart itself on
: crashes, or is it so reliable nowadays that I needn't ask the question?
:
Kermit 95 is not free, but one copy won't break the bank:
http://www.columbia.edu/kermit/k95order.html
What you would do, I think, is write a trivial script that sets any desired
parameters (port, speed, current directory, etc etc) and starts Kermit 95
server mode (any file whose type is ".ksc" will be executed by Kermit 95).
This script can then be set up as service with SRVANY:
http://support.microsoft.com/kb/q137890/
: Finally, is there any good reason I just stick to PPP?
:
PPP, TCP, and IP layers will add a lot more overhead than Kermit. On a
non-flowcontrolled serial connection they might not work very well, or at
all. At least with Kermit you can crank the packet length and/or window
size down to the greatest combination that works reliably.
- Frank